package com.youngjun.user.pojo.domain;

import java.sql.Timestamp;
import com.youngjun.common.pojo.domain.support.BaseDO;

public class Function extends BaseDO<Function> {

    private Long id;

    //功能名称
    private String name;

    private Timestamp gmtCreated;

    private Timestamp gmtModified;

    private Boolean isDeleted;

    //功能地址
    private String path;

    //功能类型
    private String type;

    //功能图标
    private String icon;

    //上级功能
    private Long parentId;

    public Long getId() {
        return id;
    }

    public Function setId(Long id) {
        this.id = id;
        return this;
    }
    public String getName() {
        return name;
    }

    public Function setName(String name) {
        this.name = name;
        return this;
    }
    public Timestamp getGmtCreated() {
        return gmtCreated;
    }

    public Function setGmtCreated(Timestamp gmtCreated) {
        this.gmtCreated = gmtCreated;
        return this;
    }
    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public Function setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }
    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public Function setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }
    public String getPath() {
        return path;
    }

    public Function setPath(String path) {
        this.path = path;
        return this;
    }
    public String getType() {
        return type;
    }

    public Function setType(String type) {
        this.type = type;
        return this;
    }
    public String getIcon() {
        return icon;
    }

    public Function setIcon(String icon) {
        this.icon = icon;
        return this;
    }
    public Long getParentId() {
        return parentId;
    }

    public Function setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }
}